<?php
/**
 * User: Feng
 * Date: 2024/07/30
 */

namespace app\common\controller;

use app\common\model\Algorithm;
use app\common\model\AlgorithmItem;
use app\common\model\AlgorithmSector;
use app\common\model\Navigation;
use Request;
use think\Controller;

class Web extends Controller
{
	protected function initialize()
	{
		parent::initialize();
		$navLists = (new Navigation())->where(['status' => 1])->order('id asc')->select();
		$this->assign('navLists', $navLists);

		$this->assign('logo', _sImage(getSetting('shop_logo')));
		$this->assign('year', date('Y'));
		$this->assign('shop_company', getSetting('shop_company'));
		$this->assign('shop_beian', getSetting('shop_beian'));
	}
}
